package com.exam.entity;

import javax.persistence.Column;
import javax.persistence.Id;

public class Roles {
	
	@Id
	@Column(name="roleId",length=11)
	private int roleId;
	
	@Column(name="roleName",length=20)
	private String roleName;
	
	@Column(name="roleDesc",length=50)
	private String roleDesc;
	
	@Column(name="baoliu",length=1)
	private char baoliu;

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleDesc() {
		return roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public char getBaoliu() {
		return baoliu;
	}

	public void setBaoliu(char baoliu) {
		this.baoliu = baoliu;
	}

	public Roles() {
		super();
	}

	public Roles(int roleId, String roleName, String roleDesc, char baoliu) {
		super();
		this.roleId = roleId;
		this.roleName = roleName;
		this.roleDesc = roleDesc;
		this.baoliu = baoliu;
	}
	
	
	
}
